Resolve an Infraction Notification
To resolve an Infraction Notification, you can either accept or reject it by using the endpoint below.
Request
- URL
- cURL
POST https://apisandbox.delbank.com.br/baas/api/v1/infraction-notifications/:id/analysis
curl --request POST \
--url https://apisandbox.delbank.com.br/baas/api/v1/infraction-notifications/:id/analysis \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'x-delbank-api-key: PJPyJ2xGmyB9oDHyNIUwNOt1dgpgolBwcE16ybaKD5o1+JGdnXu3GSPnVzi3UKib/tPmW8y6c1WgUWpVvRDnY+0j3U/c5oEPAA8HHDmnU8iFYxWD2qpXZ2ZFfRIikoOL5KeXfMYUPvBW5kz0UhxYjw==' \
--header 'x-delfinance-account-id: 43482' \
--data '{
}'
Headers
| Name | Description |
|---|---|
| x-delbank-api-key | Required. API key |
| x-delfinance-account-id | Required. The Delfinance bank account number |
Path Params
| Name | Description |
|---|---|
| id | Required. The infraction Id |
Body Params
| Name | Type | Default | Description |
|---|---|---|---|
| status | enum | ACCEPTED | The status can be ACCEPTED or REJECTED |
| details | string | - | A description for the analysis |
| fraudType | enum | FRAUDSTER_ACCOUNT | The type of infraction. Possible values are: MISREPRESENTATION, STRAW_ACCOUNT, FRAUDSTER_ACCOUNT, OTHER, and UNKNOWN |
Response
On a sucessful response you will receive a status code of 204